package com.app.oasystem.constant;

/**
 * @author zhangbaobing
 * @Description TODO
 * @data 2021/05/19
 */
public enum EventEnum {
    LOGIN("/user/", "用户登录或查询当前登录者的个人信息"),
    PHONE_MAIN("/phone-main.html", "刷新主页面"),
    SENDMAIL("/sendMail.html", "访问发送邮件页面"),
    INBOX_LOOK("/inbox_look.html", "查看某个正式邮件的信息"),
    COLLECT("/email/book/0/", "访问正式邮件列表"),
    LAJI("/email/book/1/", "访问垃圾邮件列表"),
    SEND("/email/send", "发送邮件"),
//    MAIL("/email/", "访问某一个邮件"),
//    RECORD("/record/", "查询某打卡记录"),
//    LEAVES_SHEN("/leaves/*/*", "审批某个用户的假期"),
    RECORD_ALL("/record/all/", "查询所有的打卡记录"),
    RECORD_ALL1("/record/all", "进入打卡记录页面"),
    RECORD_UP("/record/up/", "打卡上班"),
    RECORD_DOWN("/record/down/", "打卡下班"),
    LEAVES_ADD("/leaves/add", "申请假期"),
    USER_ALL("/user/all", "进入管理账户页面"),
    LEAVES_ALL("/leaves/all", "进入假期管理页面");

    private final String uri;
    private final String describe;

    EventEnum(String uri, String describe) {
        this.uri = uri;
        this.describe = describe;
    }

    public String getUri() {
        return uri;
    }

    public String getDescribe() {
        return describe;
    }}
